<% if (!isCancelled()) { %><%= primaryHeader({ heading: "Appointment Details", options: { leftBtn: { id: "back-btn", icon: "ui-icon-carat-l", style: "phone-btn-notext ui-btn-icon-left", title: "Return to Appointments and Requests", htmlText: '' } }}) %>
<% } else { %><%= primaryHeader({ heading: "Appointment Cancelled", options: {leftBtn: {id: "back-btn", icon: "ui-icon-carat-l", style: "ui-btn-icon-left", title: "Return to Appointments and Requests", htmlText: ''}} }) %> <% } %>